Sha256: 014f47cb5fee480e5f50b90a12deef8dc01b7a0002e9e4730eb3358b813cc881
Contents?: true
Size: 416 Bytes
Versions: 10
Compression:
Stored size: 416 Bytes
Contents
require 'spec_helper' # # describe CartItemsController do # # describe "adding to the cart" do # # before do # # end # # it "should be successful" do # Product.should_receive(:find_by_id).with("1").and_return(mock_model(Product)) # post :create, :cartable_type => "product", :cartable_id => "1" # response.should be_success # end # # # end # end
Version data entries
10 entries across 10 versions & 1 rubygems