spec/r-fxxk_spec.rb in r-fxxk-0.2.0 vs spec/r-fxxk_spec.rb in r-fxxk-0.3.0
- old
+ new
@@ -45,9 +45,10 @@
subject.fuck(src('hello.mona')).should eq "Hello World!\n"
end
it "translate(BrainFuck.new, hello.bf) should == hello.mona" do
subject.translate(BrainFuck, src('hello.bf')).strip.should eq src('hello.mona').strip
end
+ its(:hello_world) { should == src('hello.mona').strip }
end
context 'customized class' do
subject { Ook.new }
its(:nxt) { should eq 'Ook. Ook?' }