Sha256: e07aa198f24ddc80450956a610a3b90fb79fef0d46b6c7533ef07a5341819c4a
Contents?: true
Size: 740 Bytes
Versions: 14
Compression:
Stored size: 740 Bytes
Contents
# -*- coding: utf-8 -*- 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
14 entries across 14 versions & 1 rubygems