diff --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\n

Hello World!

\n\n
\n

Start Card A

\n

Hello from A

\n
\n

Start Card B

\n

Hello from B

\n

End Card B

\n

End Card A

\n
) + %(

Before

\n\n

Hello World!

\n\n
\n

Start Card A

\n

Hello from A

\n
\n

Start Card B

\n

Hello from B

\n

End Card B

\n

End Card A

\n
) end end end