spec/test.rb in opal-spec-0.2.5 vs spec/test.rb in opal-spec-0.2.6
- old
+ new
@@ -17,9 +17,26 @@
it 'this should fail' do
1.should == 2
end
end
+describe "New eql" do
+ it "these should both pass" do
+ 1.should eq(1)
+ 1.should_not eq(2)
+ end
+
+ it "and this should fail" do
+ 1.should eq(:adam)
+ end
+end
+
+describe Object do
+ it "should output a nice name for classes" do
+ 1.should eq(1)
+ end
+end
+
describe 'Another group' do
it 'this should pass' do
1.should == 1
end
\ No newline at end of file