spec/rubicure/girl_spec.rb in rubicure-1.3.5 vs spec/rubicure/girl_spec.rb in rubicure-2.0.0
- old
+ new
@@ -23,15 +23,15 @@
let(:cast_name) { "金元寿子" }
let(:created_date) { date("2012-02-19") }
let(:extra_names) { %w[プリンセスピース ウルトラピース] }
let(:color) { "yellow" }
let(:transform_message) do
- <<JANKEN
-プリキュアスマイルチャージ!
-GO! GO! Let's GO ピース!
-ピカピカピカリンジャンケンポン! キュアピース!
-JANKEN
+ <<~JANKEN
+ プリキュアスマイルチャージ!
+ GO! GO! Let's GO ピース!
+ ピカピカピカリンジャンケンポン! キュアピース!
+ JANKEN
end
let(:attack_messages) do
[
"プリキュアピースサンダー!",
"プリキュアピースサンダーハリケーン!",
@@ -98,17 +98,17 @@
transform_message: nil,
attack_messages: nil,
transform_calls: ["cure_up_rapapa"],
color: "pink",
birthday: "6/12",
- transform_styles: {
+ transform_styles: {
diamond: {
- precure_name: "キュアミラクル(ダイヤスタイル)",
+ precure_name: "キュアミラクル(ダイヤスタイル)",
transform_message: "",
},
- ruby: {
- precure_name: "キュアミラクル(ルビースタイル)",
+ ruby: {
+ precure_name: "キュアミラクル(ルビースタイル)",
transform_message: "",
},
},
]
@@ -256,10 +256,10 @@
context "When after transformed" do
before do
girl.transform!
end
- subject! { humanize! }
+ subject! { humanize! } # rubocop:disable RSpec/LeadingSubject
it_behaves_like :a_humanize_method
end
end