Sha256: 0ebf6f6a36f1fc37e4fb7999ccf699f1a7c2ed43c8f63415162c66f495d2d53c

Contents?: true

Size: 729 Bytes

Versions: 41

Compression:

Stored size: 729 Bytes

Contents

describe "Cure.passion" do # rubocop:disable RSpec/DescribeClass
  describe "!" do
    subject { !Cure.passion }

    let(:girl) { Cure.passion }

    after do
      girl.rollback
      girl.humanize!
    end

    context "called once" do
      it { expect { subject }.to change { girl.name }.from("東せつな").to("イース") }
    end

    context "called twice" do
      before do
        !Cure.passion
      end

      it { expect { subject }.to change { girl.name }.from("イース").to("東せつな") }
    end

    context "after transform" do
      before do
        girl.transform!
      end

      it { expect { subject }.to change { girl.name }.from("キュアパッション").to("イース") }
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
rubicure-4.0.1 spec/rubicure/cure_passion_spec.rb
rubicure-4.0.0 spec/rubicure/cure_passion_spec.rb
rubicure-3.3.4 spec/rubicure/cure_passion_spec.rb
rubicure-3.3.3 spec/rubicure/cure_passion_spec.rb
rubicure-3.3.2 spec/rubicure/cure_passion_spec.rb
rubicure-3.3.1 spec/rubicure/cure_passion_spec.rb
rubicure-3.3.0 spec/rubicure/cure_passion_spec.rb
rubicure-3.3.0.rc2 spec/rubicure/cure_passion_spec.rb
rubicure-3.3.0.rc1 spec/rubicure/cure_passion_spec.rb
rubicure-3.2.6 spec/rubicure/cure_passion_spec.rb
rubicure-3.2.5 spec/rubicure/cure_passion_spec.rb
rubicure-3.2.4 spec/rubicure/cure_passion_spec.rb
rubicure-3.2.3 spec/rubicure/cure_passion_spec.rb
rubicure-3.2.2 spec/rubicure/cure_passion_spec.rb
rubicure-3.2.1 spec/rubicure/cure_passion_spec.rb
rubicure-3.2.0 spec/rubicure/cure_passion_spec.rb
rubicure-3.2.0.rc1 spec/rubicure/cure_passion_spec.rb
rubicure-3.1.5 spec/rubicure/cure_passion_spec.rb
rubicure-3.1.4 spec/rubicure/cure_passion_spec.rb
rubicure-3.1.3 spec/rubicure/cure_passion_spec.rb