Fully embrace Ruby 1.9 hash syntax
Didn't bother with files in db/, config/, or features/
This commit is contained in:
parent
1413c23c50
commit
7754189187
257 changed files with 1449 additions and 1449 deletions
|
@ -10,7 +10,7 @@ describe "Projects", "DeployKeys" do
|
|||
|
||||
describe "GET /keys" do
|
||||
before do
|
||||
@key = Factory :key, :project => project
|
||||
@key = Factory :key, project: project
|
||||
visit project_deploy_keys_path(project)
|
||||
end
|
||||
|
||||
|
@ -41,8 +41,8 @@ describe "Projects", "DeployKeys" do
|
|||
|
||||
describe "fill in" do
|
||||
before do
|
||||
fill_in "key_title", :with => "laptop"
|
||||
fill_in "key_key", :with => "publickey234="
|
||||
fill_in "key_title", with: "laptop"
|
||||
fill_in "key_key", with: "publickey234="
|
||||
end
|
||||
|
||||
it { expect { click_button "Save" }.to change {Key.count}.by(1) }
|
||||
|
@ -57,7 +57,7 @@ describe "Projects", "DeployKeys" do
|
|||
|
||||
describe "Show page" do
|
||||
before do
|
||||
@key = Factory :key, :project => project
|
||||
@key = Factory :key, project: project
|
||||
visit project_deploy_key_path(project, @key)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue