Sha256: c711b56cb60bc3e6b81752c2f02f0006aac401ba8e823cdf677f411114d718c2
Contents?: true
Size: 472 Bytes
Versions: 7
Compression:
Stored size: 472 Bytes
Contents
require 'spec_helper' require 'action_controller' require "rails-footnotes/notes/files_note" class ConcreteFilesNote < Footnotes::Notes::FilesNote def scan_text(text) [] end end describe Footnotes::Notes::FilesNote do let(:note) do ConcreteFilesNote.new(double('controller', :response => double('', :body => ''))) end subject { note } it { should be_valid } describe '#row' do subject { super().row } it { should eql :edit } end end
Version data entries
7 entries across 7 versions & 2 rubygems