Sha256: 30206d2c130c8f9cbc843a5bea58dff269527b6593bd28b899bfe6ac1368a996
Contents?: true
Size: 389 Bytes
Versions: 43
Compression:
Stored size: 389 Bytes
Contents
require 'spec_helper' describe Ridley do let(:config) { double("config") } describe "ClassMethods" do subject { Ridley } describe "::new" do it "creates a new Ridley::Connection" do client = double('client') Ridley::Client.should_receive(:new).with(config).and_return(client) subject.new(config).should eql(client) end end end end
Version data entries
43 entries across 43 versions & 1 rubygems