Sha256: 850d3a42e19db34eb53ae325545b2a76169e3aed63ade938018786fdd7902799

Contents?: true

Size: 384 Bytes

Versions: 9

Compression:

Stored size: 384 Bytes

Contents

require 'spec_helper'
require 'action_controller'
require "rails-footnotes/notes/files_note"

describe Footnotes::Notes::FilesNote do

  let(:note) do
    Rails.stub(:version).and_return('3.0.12');
    Footnotes::Notes::FilesNote.new(double('controller', :response => double('', :body => '')))
  end

  subject { note }

  it { should be_valid }
  its(:row) { should eql :edit }

end

Version data entries

9 entries across 9 versions & 1 rubygems

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