Skip to content
Snippets Groups Projects
Commit 76d6b1c0 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Fix specs broken by last commit

parent 5d993ef9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -51,7 +51,7 @@ class Spinach::Features::Invites < Spinach::FeatureSteps
 
step 'I should be redirected to the group page' do
group = Group.find_by(name: "Owned")
expect(current_path).to eq(group_path(group))
expect(current_path).to eq(activity_group_path(group))
end
 
step 'I should see a notice telling me I have access' do
Loading
Loading
Loading
Loading
@@ -241,7 +241,7 @@ end
 
describe "Groups", "routing" do
it "/groups/1" do
expect(get("/groups/1")).to route_to('groups#activity', id: '1')
expect(get("/groups/1")).to route_to('groups#show', id: '1')
end
 
it "/groups/1/activity" do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment