Fix spec errors.

This commit is contained in:
Sato Hiroyuki 2013-03-19 13:46:07 +09:00
parent fc66c18349
commit 92de0faf6e
2 changed files with 11 additions and 8 deletions

View file

@ -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

View file

@ -230,6 +230,8 @@ describe "Application access" do
end
describe "GET /project_code/files" do
pending("ProjectsController#files have been deleted.") do
subject { files_project_path(project) }
it { should be_allowed_for master }
@ -241,3 +243,4 @@ describe "Application access" do
end
end
end
end