Skip to content
Snippets Groups Projects
Commit 92de0faf authored by Sato Hiroyuki's avatar Sato Hiroyuki
Browse files

Fix spec errors.

parent fc66c183
No related branches found
No related tags found
1 merge request!3252Fix timeout error while showing the network graph.
Loading
Loading
@@ -11,7 +11,7 @@ describe "Projects" do
end
 
it "should be correct path" do
expect { click_link "Remove" }.to change {Project.count}.by(-1)
expect { click_link "Remove project" }.to change {Project.count}.by(-1)
end
end
end
Loading
Loading
@@ -230,14 +230,17 @@ describe "Application access" do
end
 
describe "GET /project_code/files" do
subject { files_project_path(project) }
pending("ProjectsController#files have been deleted.") do
 
it { should be_allowed_for master }
it { should be_allowed_for reporter }
it { should be_denied_for :admin }
it { should be_denied_for guest }
it { should be_denied_for :user }
it { should be_denied_for :visitor }
subject { files_project_path(project) }
it { should be_allowed_for master }
it { should be_allowed_for reporter }
it { should be_denied_for :admin }
it { should be_denied_for guest }
it { should be_denied_for :user }
it { should be_denied_for :visitor }
end
end
end
end
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