2015-03-09 21:25:14 +00:00
|
|
|
class Spinach::Features::DashboardStarredProjects < Spinach::FeatureSteps
|
|
|
|
include SharedAuthentication
|
|
|
|
include SharedPaths
|
|
|
|
include SharedProject
|
|
|
|
|
|
|
|
step 'I starred project "Community"' do
|
|
|
|
current_user.toggle_star(Project.find_by(name: 'Community'))
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'I should not see project "Shop"' do
|
2015-06-12 05:36:00 +00:00
|
|
|
page.within 'aside' do
|
2015-06-12 04:44:13 +00:00
|
|
|
expect(page).not_to have_content('Shop')
|
2015-03-09 21:25:14 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|