Sha256: fd3c9d4ce0467b28770c8e71bff5422230d76b600644d7a1a359534e42c726bd

Contents?: true

Size: 338 Bytes

Versions: 10

Compression:

Stored size: 338 Bytes

Contents

require "spec_helper"
require "rails-footnotes/notes/controller_note"

describe Footnotes::Notes::ControllerNote do
  # Issue #60
  it "should not be valid if conftroller file not exist" do
    note = Footnotes::Notes::ControllerNote.new(double)
    note.stub(:controller_filename).and_return(nil)

    note.should_not be_valid
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails-footnotes-4.1.6 spec/notes/controller_note_spec.rb
rails-footnotes-4.1.5 spec/notes/controller_note_spec.rb
rails-footnotes-4.1.4 spec/notes/controller_note_spec.rb
rails-footnotes-4.1.3 spec/notes/controller_note_spec.rb
rails-footnotes-4.1.2 spec/notes/controller_note_spec.rb
rails-footnotes-4.1.1 spec/notes/controller_note_spec.rb
rails-footnotes-4.1.0 spec/notes/controller_note_spec.rb
rails-footnotes-4.0.2 spec/notes/controller_note_spec.rb
rails-footnotes-4.0.1 spec/notes/controller_note_spec.rb
rails-footnotes-4.0.0 spec/notes/controller_note_spec.rb