Sha256: 184b0f08daf39737ecdbc97b6c734dd3e520e335c5c77d064b78c2fbac0b56c0

Contents?: true

Size: 363 Bytes

Versions: 16

Compression:

Stored size: 363 Bytes

Contents

require 'spec_helper'

describe 'InputHelper' do
  
  include RSpec::Rails::HelperExampleGroup
  include Webrat::HaveTagMatcher
  
  before(:each) do
    
  end
  
  it "should show inline hint" do
    helper.jquery_form_for(:new_post, :url => '/hello') do |builder|
      builder.inline_hint("I am hint").should have_tag("div.ui-input-hint")
    end
  end
  
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
jquery-ui-form-0.2.8 spec/helpers/input_helper_spec.rb
jquery-ui-form-0.2.7 spec/helpers/input_helper_spec.rb
jquery-ui-form-0.2.6 spec/helpers/input_helper_spec.rb
jquery-ui-form-0.2.5 spec/helpers/input_helper_spec.rb
jquery-ui-form-0.2.4 spec/helpers/input_helper_spec.rb
jquery-ui-form-0.2.3 spec/helpers/input_helper_spec.rb
jquery-ui-form-0.2.2 spec/helpers/input_helper_spec.rb
jquery-ui-form-0.2.1 spec/helpers/input_helper_spec.rb
jquery-ui-form-0.2.0 spec/helpers/input_helper_spec.rb
jquery-ui-form-0.1.6 spec/helpers/input_helper_spec.rb
jquery-ui-form-0.1.5 spec/helpers/input_helper_spec.rb
jquery-ui-form-0.1.4 spec/helpers/input_helper_spec.rb
jquery-ui-form-0.1.3 spec/helpers/input_helper_spec.rb
jquery-ui-form-0.1.2 spec/helpers/input_helper_spec.rb
jquery-ui-form-0.1.1 spec/helpers/input_helper_spec.rb
jquery-ui-form-0.1.0 spec/helpers/input_helper_spec.rb