refactors highlights

This commit is contained in:
Juanjo Bazán
2015-09-14 17:00:59 +02:00
parent 1e96bba262
commit 00f4acc7c2
7 changed files with 33 additions and 23 deletions

View File

@@ -15,7 +15,7 @@ feature "Welcome screen" do
login_through_form_as(user)
expect(current_path).to eq(root_path)
expect(current_path).to eq(highlights_path)
end
scenario 'is not shown to organizations' do
@@ -23,7 +23,7 @@ feature "Welcome screen" do
login_through_form_as(organization.user)
expect(current_path).to eq(root_path)
expect(current_path).to eq(highlights_path)
end
scenario 'it is not shown to level-2 users' do
@@ -31,7 +31,7 @@ feature "Welcome screen" do
login_through_form_as(user)
expect(current_path).to eq(root_path)
expect(current_path).to eq(highlights_path)
end
scenario 'it is not shown to level-3 users' do
@@ -39,7 +39,7 @@ feature "Welcome screen" do
login_through_form_as(user)
expect(current_path).to eq(root_path)
expect(current_path).to eq(highlights_path)
end
end