Sha256: c583d972848111b86d7129fb6932e7c08808ff09fe957fe48d2d18e2603c656a
Contents?: true
Size: 442 Bytes
Versions: 3
Compression:
Stored size: 442 Bytes
Contents
require "spec_helper" describe Spec::Matchers::Pretty do let(:helper) do Class.new do include Spec::Matchers::Pretty end.new end describe "to_sentence" do context "given an empty array" do it "returns empty string" do helper.to_sentence([]).should == "" end end context "given nil" do it "returns empty string" do helper.to_sentence.should == "" end end end end
Version data entries
3 entries across 3 versions & 3 rubygems