spec/opal_generator_spec.rb in jekyll-opal-0.1.0 vs spec/opal_generator_spec.rb in jekyll-opal-0.2.0
- old
+ new
@@ -8,10 +8,10 @@
it "knows where to output the file" do
expect(subject.output_location(site)).to eql(output_file)
end
it "can build the opal stdlib" do
- expect(subject.opal_stdlib).to match("(Opal);")
+ expect(subject.opal_stdlib.to_s).to match("(Opal);")
end
context "when ensuring directory is there" do
before(:each) do
FileUtils.rm_r(output_dir) if File.directory?(output_dir)