spec/lovelive_spec.rb in pebbles-lovelive-0.1.0 vs spec/lovelive_spec.rb in pebbles-lovelive-0.2.0
- old
+ new
@@ -4,9 +4,16 @@
describe LoveLive do
it 'should have a version number' do
expect(Pebbles::LoveLive::VERSION).not_to be_nil
end
+ describe '#members' do
+ before { @members = Pebbles::LoveLive.members }
+ subject { @members }
+ it { should_not be_nil }
+ it { should be_kind_of(Hash) }
+ end
+
describe '#member' do
context 'exists member' do
before { @member = Pebbles::LoveLive.eli }
subject { @member }
it { should_not be_nil }