2015-03-09 17:25:14 -04: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-09-02 14:02:26 -04:00
|
|
|
page.within '.projects-list' do
|
2015-06-12 00:44:13 -04:00
|
|
|
expect(page).not_to have_content('Shop')
|
2015-03-09 17:25:14 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|