Sha256: 2c919437b0a9afa6eb341cca524ecea8bb5e819e4a9d520176136118190932f0
Contents?: true
Size: 474 Bytes
Versions: 12
Compression:
Stored size: 474 Bytes
Contents
require 'spec_helper' describe Outliers::Resource do let(:provider) { mock 'provider' } subject { Outliers::Resource.new provider } context "#method_missing" do it "should send missing methods to the source object" do provider.stub :test_method => true expect(subject.send 'test_method').to be_true end end context "#self.key" do it "should valid key returns name" do expect(Outliers::Resource.key).to eq('name') end end end
Version data entries
12 entries across 12 versions & 1 rubygems