Sha256: cd2353b8c3950149e8bce7d00612606250d1ba0cde1943735998918828d4c62f

Contents?: true

Size: 490 Bytes

Versions: 41

Compression:

Stored size: 490 Bytes

Contents

describe "Cure.peace" do # rubocop:disable RSpec/DescribeClass
  describe "#pikarin_janken" do
    subject { girl.pikarin_janken }

    shared_examples :do_janken do
      it { should match(/ピカピカピカリン\nジャンケンポン!\n(.+)/) }
    end

    context "When peace" do
      let(:girl) { Cure.peace }

      it_behaves_like :do_janken
    end

    context "When cure_peace" do
      let(:girl) { Cure.cure_peace }

      it_behaves_like :do_janken
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
rubicure-3.1.2 spec/rubicure/cure_peace_spec.rb
rubicure-3.1.1 spec/rubicure/cure_peace_spec.rb
rubicure-3.1.0 spec/rubicure/cure_peace_spec.rb
rubicure-3.0.1 spec/rubicure/cure_peace_spec.rb
rubicure-3.0.0 spec/rubicure/cure_peace_spec.rb
rubicure-2.1.5 spec/rubicure/cure_peace_spec.rb
rubicure-2.1.4 spec/rubicure/cure_peace_spec.rb
rubicure-2.1.3 spec/rubicure/cure_peace_spec.rb
rubicure-2.1.2 spec/rubicure/cure_peace_spec.rb
rubicure-2.1.1 spec/rubicure/cure_peace_spec.rb
rubicure-2.1.0 spec/rubicure/cure_peace_spec.rb
rubicure-2.0.1 spec/rubicure/cure_peace_spec.rb
rubicure-2.0.0 spec/rubicure/cure_peace_spec.rb
rubicure-1.3.5 spec/rubicure/cure_peace_spec.rb
rubicure-1.3.4 spec/rubicure/cure_peace_spec.rb
rubicure-1.3.3 spec/rubicure/cure_peace_spec.rb
rubicure-1.3.2 spec/rubicure/cure_peace_spec.rb
rubicure-1.3.1 spec/rubicure/cure_peace_spec.rb
rubicure-1.3.0 spec/rubicure/cure_peace_spec.rb
rubicure-1.2.6 spec/rubicure/cure_peace_spec.rb