Sha256: c9a4489df3abf609776f11e804afb2093302ad38a14624c5abcc93c65a067766

Contents?: true

Size: 377 Bytes

Versions: 11

Compression:

Stored size: 377 Bytes

Contents

require 'spec_helper'

describe LinkThumbnailer::Graders::Base do

  let(:description) { double('description', text: 'foo', node: node) }
  let(:node)        { double('node', text: 'foo') }
  let(:instance)    { described_class.new(description) }

  it { expect(instance.send(:node)).to eq(description.node) }
  it { expect(instance.send(:text)).to eq(description.text) }

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
link_thumbnailer-3.3.1 spec/graders/base_spec.rb
link_thumbnailer-3.3.0 spec/graders/base_spec.rb
link_thumbnailer-3.2.1 spec/graders/base_spec.rb
link_thumbnailer-3.2.0 spec/graders/base_spec.rb
link_thumbnailer-3.1.2 spec/graders/base_spec.rb
link_thumbnailer-3.1.1 spec/graders/base_spec.rb
link_thumbnailer-3.1.0 spec/graders/base_spec.rb
link_thumbnailer-3.0.3 spec/graders/base_spec.rb
link_thumbnailer-3.0.2 spec/graders/base_spec.rb
link_thumbnailer-3.0.1 spec/graders/base_spec.rb
link_thumbnailer-3.0.0 spec/graders/base_spec.rb