Created
February 11, 2014 14:52
-
-
Save Dariusp/8936283 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it "should create credit when order finalized" do | |
order = FactoryGirl.create(:order_with_line_items) | |
order.finalize! | |
Spree::Credit.find_by_order_id(order.id).should be | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment