2015-04-26 12:48:37 +05:30
|
|
|
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-11 14:41:01 +05:30
|
|
|
page.within 'aside' do
|
|
|
|
expect(page).not_to have_content('Shop')
|
2015-04-26 12:48:37 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|