Sha256: a696a5a56f022af2dfbec8b92cd075210c895ce3965148655c3bf05c6f1744ac

Contents?: true

Size: 461 Bytes

Versions: 4

Compression:

Stored size: 461 Bytes

Contents

RSpec.describe Aldous::View::Blank::AtomView do
  subject(:view) {described_class.new(status, view_data, view_context)}

  let(:status) {nil}
  let(:view_data) {double("result")}
  let(:view_context) {double("view context")}

  it "inherits from Renderable" do
    expect(described_class.ancestors.include?(Aldous::Respondable::Renderable)).to be_truthy
  end

  it "implements the 'template' method" do
    expect{ view.template }.to_not raise_error
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aldous-1.1.3 spec/aldous/view/blank/atom_view_spec.rb
aldous-1.1.2 spec/aldous/view/blank/atom_view_spec.rb
aldous-1.0.1 spec/aldous/view/blank/atom_view_spec.rb
aldous-1.0.0 spec/aldous/view/blank/atom_view_spec.rb