Sha256: 5f065d77345febfbeb13185cf3cf6bb2f8f37d69cb81c8e1d88f5a067433110f
Contents?: true
Size: 685 Bytes
Versions: 2
Compression:
Stored size: 685 Bytes
Contents
require 'spec_helper' module Pebbles describe LoveLive::Member do before do @members = {} yaml = YAML.load_file(File.expand_path('../../../config/members.yml', __FILE__)) yaml.each do |k, v| @members[k] = LoveLive::Member.new(k, v) end end it 'members is 9' do expect(@members.size).to eq(9) end describe 'eli' do before { @eli = @members[:eli] } subject { @eli } its(:name) { should == @eli.last_name + @eli.first_name } its(:birth) { should == "#{@eli.birth_month}月#{@eli.birth_day}日" } its(:three_size) { should == "B#{@eli.bust}・W#{@eli.waste}・H#{@eli.hip}" } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pebbles-lovelive-0.0.2 | spec/lovelive/member_spec.rb |
pebbles-lovelive-0.0.1 | spec/lovelive/member_spec.rb |