Skip to content

Commit

Permalink
Ok so the update_attributes method isn't atomic but it's gonna be.
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Thom Stahl committed Dec 13, 2011
1 parent da93807 commit 39eb77b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/models/updates_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ class Motorcycle < Ampere::Model
field :year
end

@bike = Motorcycle.create make: "Honda",
model: "CB400",
year: "1990"
@bike = Motorcycle.create make: "Honda", model: "CB400", year: "1990"
end

###
Expand Down

0 comments on commit 39eb77b

Please sign in to comment.