require File.expand_path('../../spec_helper', __FILE__) describe "The or statement" do it "should always return s(:or)" do parsed("1 or 2").should == [:or, [:int, 1], [:int, 2]] end end describe "The || expression" do it "should always return s(:or)" do parsed("1 || 2").should == [:or, [:int, 1], [:int, 2]] end end