spec/shared_examples.rb in bencodr-3.0.1 vs spec/shared_examples.rb in bencodr-3.0.2
- old
+ new
@@ -17,10 +17,10 @@
end
shared_examples_for "BEncodr::Integer" do |obj|
subject{ obj }
- describe "#bencodr" do
+ describe "#bencode" do
it{ should bencode(1).to("i1e") }
it{ should bencode(-1).to("i-1e") }
it{ should bencode(10_000_000_000).to("i10000000000e") }
it{ should bencode(-10_000_000_000).to("i-10000000000e") }
it{ should bencode(1.1).to("i1e") }
\ No newline at end of file