Skip to content

Commit

Permalink
Fix spacing around braces
Browse files Browse the repository at this point in the history
  • Loading branch information
durhamka committed Jan 3, 2014
1 parent df52b11 commit 79afc44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -755,7 +755,7 @@ class HelpTest < Tableless
describe 'embedded model', :mongoid => true do
it 'works' do
@record = FactoryGirl.create :field_test
2.times.each { |i| @record.embeds.create :name => "embed #{i}"}
2.times.each { |i| @record.embeds.create :name => "embed #{i}" }
visit edit_path(:model_name => 'field_test', :id => @record.id)
fill_in 'field_test_embeds_attributes_0_name', :with => 'embed 1 edited'
page.find('#field_test_embeds_attributes_1__destroy').set('true')
Expand Down
Expand Up @@ -431,7 +431,7 @@
end
end
@record = FactoryGirl.create :field_test
2.times.each { |i| @record.embeds.create :name => "embed #{i}"}
2.times.each { |i| @record.embeds.create :name => "embed #{i}" }
visit index_path(:model_name => 'field_test')
should_not have_link('embed 0')
should_not have_link('embed 1')
Expand Down
Expand Up @@ -338,7 +338,7 @@ def do_request
describe 'embedded model', :mongoid => true do
it "does not show link to individual object's page" do
@record = FactoryGirl.create :field_test
2.times.each { |i| @record.embeds.create :name => "embed #{i}"}
2.times.each { |i| @record.embeds.create :name => "embed #{i}" }
visit show_path(:model_name => 'field_test', :id => @record.id)
should_not have_link('embed 0')
should_not have_link('embed 1')
Expand Down

0 comments on commit 79afc44

Please sign in to comment.