Sha256: f38e77dafe5acb3f0fcbaf63b06bccf40ed2f4262ca1a2e1d347811dd59a08ff

Contents?: true

Size: 409 Bytes

Versions: 3

Compression:

Stored size: 409 Bytes

Contents

require 'spec_helper'

module RSpec::Rails
      
  describe CellExampleGroup do
    let(:group) do
      RSpec::Core::ExampleGroup.describe do
        include CellExampleGroup
      end
    end
    
    it "adds :type => :cell to the metadata" do
      group.metadata[:type].should eq(:cell)
    end
    
    it "responds to #render_cell" do
      group.new.should respond_to(:render_cell)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rspec-cells-0.0.5 spec/cells/cell_spec_spec.rb
rspec-cells-0.0.4 spec/cells/cell_spec_spec.rb
rspec-cells-0.0.3 spec/cells/cell_spec_spec.rb