Start Card A
\nHello from A
\nStart Card B
\nHello from B
\nEnd Card B
\nEnd Card A
\ndiff --git a/test/phlex/compiler/formatter.rb b/test/phlex/compiler/formatter.rb index d9d9efa7..a80fd88c 100644 --- a/test/phlex/compiler/formatter.rb +++ b/test/phlex/compiler/formatter.rb @@ -12,7 +12,7 @@ formatter.append { _1.text "b" } formatter.append { _1.text "c" } - expect(output).to be == %(@_target << \"abc") + expect(output).to be == %(@_target << "abc") end it "allows for breaks" do diff --git a/test/phlex/rails.rb b/test/phlex/rails.rb index 8ea941f3..5b547668 100644 --- a/test/phlex/rails.rb +++ b/test/phlex/rails.rb @@ -8,7 +8,7 @@ it "renders the correct output" do expect(output).to be == - %(
Before
\n\nStart Card A
\nStart Card B
\nEnd Card B
\nEnd Card A
\nBefore
\n\nStart Card A
\nStart Card B
\nEnd Card B
\nEnd Card A
\n