Sha256: 191352cc36140534a0aae574ef93a258f4ef551402ab99af630c919bae1c999c
Contents?: true
Size: 306 Bytes
Versions: 4
Compression:
Stored size: 306 Bytes
Contents
require "spec_helper" require "rails-footnotes/notes/view_note" describe Footnotes::Notes::ViewNote do it "should not be valid if view file not exist" do note = Footnotes::Notes::ViewNote.new(double) allow(note).to receive(:filename).and_return(nil) expect(note).not_to be_valid end end
Version data entries
4 entries across 4 versions & 2 rubygems