Skip to content

Commit

Permalink
Merge pull request spree#63 from bonobos/fix_spec_for_adjustment
Browse files Browse the repository at this point in the history
Fix spec after spree bump
  • Loading branch information
allisonlarson committed Apr 6, 2015
2 parents de2f492 + 8352b5a commit 237cee0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/serializers/spree/hub/adjustment_serializer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ module Spree
module Wombat
describe AdjustmentSerializer do

let(:adjustment) { create(:adjustment) }
let(:order) { create(:order) }
let(:adjustment) { create(:adjustment, order: order, adjustable: order) }
let(:serialized_adjustment) { AdjustmentSerializer.new(adjustment, root: false).to_json }

it "serializes the value as float" do
Expand Down

0 comments on commit 237cee0

Please sign in to comment.