Sha256: 777081bd8095865d8510fd4696edfdf56a97ce98490fb91bee4bd8fe84574b7a
Contents?: true
Size: 762 Bytes
Versions: 9
Compression:
Stored size: 762 Bytes
Contents
# -*- coding: utf-8 -*- require 'spec_helper' require 'hiroshimarb/member' module Hiroshimarb describe Member do describe '.all' do subject { Member.all } it "1件以上のデータがある" do expect(subject.count).to be > 1 end end describe '#to_s' do subject { member.to_s } let(:member) do m = Member.new m.name = 'ruby Hiroshima' m.github = 'hiroshimarb' m.website = 'http://hiroshimarb.github.com/' m.profile = 'Hiroshima.rb' m end it do should eq(<<EOD) name ruby Hiroshima github id hiroshimarb twitter id website http://hiroshimarb.github.com/ profile Hiroshima.rb EOD end end end end
Version data entries
9 entries across 9 versions & 1 rubygems