spec/lang/literals/booleans_spec.rb in gobstones-0.0.1.1 vs spec/lang/literals/booleans_spec.rb in gobstones-0.0.2
- old
+ new
@@ -1,13 +1,11 @@
describe Boolean do
- it "should evaluate true to self" do
- bool = True.new
- expect(bool.evaluate).to eq(bool)
+ it "evaluates true to itself" do
+ expect(true_value.evaluate).to eq(true_value)
end
- it "should evaluate false to self" do
- bool = False.new
- expect(bool.evaluate).to eq(bool)
+ it "evaluates false to itself" do
+ expect(false_value.evaluate).to eq(false_value)
end
-end
\ No newline at end of file
+end