Sha256: c937b6ef3f9ecf382fc9759b9a1fa2cd0437a649423734b352a967807be19dad

Contents?: true

Size: 462 Bytes

Versions: 4

Compression:

Stored size: 462 Bytes

Contents

require 'spec_helper'

module Pebbles
  describe LoveLive::Core do

    before { @core = LoveLive::Core.instance }

    describe 'method_missing' do
      context 'call member name method' do
        subject { @core.eli }

        it { should_not be_nil }
        it { should be_an_instance_of LoveLive::Member }
      end

      context 'call not member name method' do
        subject { @core.alpaca }

        it { should be_nil }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pebbles-lovelive-0.2.0 spec/lovelive/core_spec.rb
pebbles-lovelive-0.1.0 spec/lovelive/core_spec.rb
pebbles-lovelive-0.0.2 spec/lovelive/core_spec.rb
pebbles-lovelive-0.0.1 spec/lovelive/core_spec.rb