diff --git a/spec/acceptance/attributes_for_spec.rb b/spec/acceptance/attributes_for_spec.rb index ef26e1a..48d26cc 100644 --- a/spec/acceptance/attributes_for_spec.rb +++ b/spec/acceptance/attributes_for_spec.rb @@ -6,9 +6,9 @@ describe "a generated attributes hash" do define_model("Comment") define_model("Post", title: :string, - body: :string, - summary: :string, - user_id: :integer) do + body: :string, + summary: :string, + user_id: :integer) do belongs_to :user has_many :comments end diff --git a/spec/acceptance/attributes_ordered_spec.rb b/spec/acceptance/attributes_ordered_spec.rb index a7c5f2c..2cbcca3 100644 --- a/spec/acceptance/attributes_ordered_spec.rb +++ b/spec/acceptance/attributes_ordered_spec.rb @@ -3,9 +3,9 @@ describe "a generated attributes hash where order matters" do before do define_model("ParentModel", static: :integer, - evaluates_first: :integer, - evaluates_second: :integer, - evaluates_third: :integer) + evaluates_first: :integer, + evaluates_second: :integer, + evaluates_third: :integer) FactoryBot.define do factory :parent_model do diff --git a/spec/acceptance/build_stubbed_spec.rb b/spec/acceptance/build_stubbed_spec.rb index a884646..74e7fde 100644 --- a/spec/acceptance/build_stubbed_spec.rb +++ b/spec/acceptance/build_stubbed_spec.rb @@ -5,10 +5,10 @@ describe "a generated stub instance" do define_model("User") define_model("Post", title: :string, - body: :string, - age: :integer, - user_id: :integer, - draft: :boolean) do + body: :string, + age: :integer, + user_id: :integer, + draft: :boolean) do belongs_to :user end diff --git a/spec/acceptance/overrides_spec.rb b/spec/acceptance/overrides_spec.rb index 6d8ea29..654efef 100644 --- a/spec/acceptance/overrides_spec.rb +++ b/spec/acceptance/overrides_spec.rb @@ -2,8 +2,8 @@ describe "attribute overrides" do before do define_model("User", admin: :boolean) define_model("Post", title: :string, - secure: :boolean, - user_id: :integer) do + secure: :boolean, + user_id: :integer) do belongs_to :user def secure=(value)