Sha256: 66ac863f49f6b2108cf5793d8b07f251857f775d71b88c467dff551fe2a58434
Contents?: true
Size: 478 Bytes
Versions: 11
Compression:
Stored size: 478 Bytes
Contents
require 'spec_helper' describe Sentimeta::Model, :vcr do subject(:client) { Sentimeta::Client } subject { model = Sentimeta::Model; model.endpoint :spheres; model } it { should respond_to :fetch } describe :fetch do it "should return an array" do expect(subject.send :fetch).to be_kind_of Array end it "should call client_fetch once" do expect(client).to receive(:fetch).and_call_original.once subject.send :fetch end end end
Version data entries
11 entries across 11 versions & 1 rubygems