moves highlights and default home page

This commit is contained in:
Juanjo Bazán
2015-09-14 19:49:09 +02:00
parent b199ad233c
commit e5531aba87
9 changed files with 40 additions and 28 deletions

View File

@@ -15,7 +15,7 @@ feature "Welcome screen" do
login_through_form_as(user)
expect(current_path).to eq(highlights_path)
expect(current_path).to eq(proposals_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(highlights_path)
expect(current_path).to eq(proposals_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(highlights_path)
expect(current_path).to eq(proposals_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(highlights_path)
expect(current_path).to eq(proposals_path)
end
end