Created
June 10, 2011 10:37
-
-
Save JakubOboza/1018603 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
describe "Affiliate Window Integration" do | |
it "should store in cookies affiliate window code" do | |
controller.should_receive(:affiliate_window_code_handler) | |
get :new, "awc" => "this-is-test-code" | |
cookies["awc"].should_not be_nil | |
cookies["awc"].should eql("this-is-test-code") | |
response.should be_success | |
end | |
end |
This file contains hidden or 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
F................... | |
1) | |
'OrdersController Affiliate Window Integration should store in cookies affiliate window code' FAILED | |
expected not nil, got nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment