Sha256: 75b84ce642dc42c6922a948b09f53f05c84129abffa0c3822b8934a25dbc4c1f

Contents?: true

Size: 239 Bytes

Versions: 3

Compression:

Stored size: 239 Bytes

Contents

require 'spec_helper'

describe <%= class_name %>Widget do
  has_widgets do |root|
    root << widget(:<%= class_name %>)
  end
  
  it "should render :display" do
    render_widget(:<%= class_name %>).should have_selector("h1")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rspec-apotomo-0.9.3 lib/generators/rspec/templates/widget_spec.erb
rspec-apotomo-0.9.2 lib/generators/rspec/templates/widget_spec.erb
rspec-apotomo-0.9.1 lib/generators/rspec/templates/widget_spec.erb