spec/guard/sprockets2/compiler_spec.rb in guard-sprockets2-0.0.5 vs spec/guard/sprockets2/compiler_spec.rb in guard-sprockets2-0.0.6

- old
+ new

@@ -37,22 +37,21 @@ app_js_gz_path = compiled_path.join("#{asset.digest_path}.gz") app_js_gz_path.should exist end - it "returns true" do - write_hello_coffee("console.log 'hello'") - subject.compile.should be_true + describe '#compile' do + specify { subject.compile.should be_true } end context 'with an error' do before do write_hello_coffee("console.log 'hello''") @result = subject.compile end - it "returns false" do - @result.should be_false + describe '#compile' do + specify { @result.should be_false } end it "works when the error has been fixed" do write_hello_coffee("console.log 'hello'") expect { \ No newline at end of file