module Capybara::Expectations

Public Instance Methods

must_have_button() click to toggle source

Expectation that there is button

see #wont_have_button see Capybara::Assertions#assert_button see Capybara::Assertions#refute_button see Capybara::Assertions#assert_no_button

# File lib/minitest/rails/capybara.rb, line 311
    
must_have_checked_field() click to toggle source

Expectation that there is checked_field

see #wont_have_checked_field see Capybara::Assertions#assert_checked_field see Capybara::Assertions#refute_checked_field see Capybara::Assertions#assert_no_checked_field

# File lib/minitest/rails/capybara.rb, line 330
    
must_have_content() click to toggle source

Expectation that there is content

see #wont_have_content see Capybara::Assertions#assert_content see Capybara::Assertions#refute_content see Capybara::Assertions#assert_no_content

# File lib/minitest/rails/capybara.rb, line 349
    
must_have_css() click to toggle source

Expectation that there is css

see #wont_have_css see Capybara::Assertions#assert_css see Capybara::Assertions#refute_css see Capybara::Assertions#assert_no_css

# File lib/minitest/rails/capybara.rb, line 368
    
must_have_field() click to toggle source

Expectation that there is field

see #wont_have_field see Capybara::Assertions#assert_field see Capybara::Assertions#refute_field see Capybara::Assertions#assert_no_field

# File lib/minitest/rails/capybara.rb, line 387
    
must_have_select() click to toggle source

Expectation that there is select

see #wont_have_select see Capybara::Assertions#assert_select see Capybara::Assertions#refute_select see Capybara::Assertions#assert_no_select

# File lib/minitest/rails/capybara.rb, line 425
    
must_have_selector() click to toggle source

Expectation that there is selector

see #wont_have_selector see Capybara::Assertions#assert_selector see Capybara::Assertions#refute_selector see Capybara::Assertions#assert_no_selector

# File lib/minitest/rails/capybara.rb, line 444
    
must_have_table() click to toggle source

Expectation that there is table

see #wont_have_table see Capybara::Assertions#assert_table see Capybara::Assertions#refute_table see Capybara::Assertions#assert_no_table

# File lib/minitest/rails/capybara.rb, line 463
    
must_have_text() click to toggle source

Expectation that there is text

see #wont_have_text see Capybara::Assertions#assert_text see Capybara::Assertions#refute_text see Capybara::Assertions#assert_no_text

# File lib/minitest/rails/capybara.rb, line 482
    
must_have_unchecked_field() click to toggle source

Expectation that there is unchecked_field

see #wont_have_unchecked_field see Capybara::Assertions#assert_unchecked_field see Capybara::Assertions#refute_unchecked_field see Capybara::Assertions#assert_no_unchecked_field

# File lib/minitest/rails/capybara.rb, line 501
    
must_have_xpath() click to toggle source

Expectation that there is xpath

see #wont_have_xpath see Capybara::Assertions#assert_xpath see Capybara::Assertions#refute_xpath see Capybara::Assertions#assert_no_xpath

# File lib/minitest/rails/capybara.rb, line 520
    
wont_have_button() click to toggle source

Expectation that there is no button

see #must_have_button see Capybara::Assertions#assert_button see Capybara::Assertions#refute_button see Capybara::Assertions#assert_no_button

# File lib/minitest/rails/capybara.rb, line 321
    
wont_have_checked_field() click to toggle source

Expectation that there is no checked_field

see #must_have_checked_field see Capybara::Assertions#assert_checked_field see Capybara::Assertions#refute_checked_field see Capybara::Assertions#assert_no_checked_field

# File lib/minitest/rails/capybara.rb, line 340
    
wont_have_content() click to toggle source

Expectation that there is no content

see #must_have_content see Capybara::Assertions#assert_content see Capybara::Assertions#refute_content see Capybara::Assertions#assert_no_content

# File lib/minitest/rails/capybara.rb, line 359
    
wont_have_css() click to toggle source

Expectation that there is no css

see #must_have_css see Capybara::Assertions#assert_css see Capybara::Assertions#refute_css see Capybara::Assertions#assert_no_css

# File lib/minitest/rails/capybara.rb, line 378
    
wont_have_field() click to toggle source

Expectation that there is no field

see #must_have_field see Capybara::Assertions#assert_field see Capybara::Assertions#refute_field see Capybara::Assertions#assert_no_field

# File lib/minitest/rails/capybara.rb, line 397
    
wont_have_select() click to toggle source

Expectation that there is no select

see #must_have_select see Capybara::Assertions#assert_select see Capybara::Assertions#refute_select see Capybara::Assertions#assert_no_select

# File lib/minitest/rails/capybara.rb, line 435
    
wont_have_selector() click to toggle source

Expectation that there is no selector

see #must_have_selector see Capybara::Assertions#assert_selector see Capybara::Assertions#refute_selector see Capybara::Assertions#assert_no_selector

# File lib/minitest/rails/capybara.rb, line 454
    
wont_have_table() click to toggle source

Expectation that there is no table

see #must_have_table see Capybara::Assertions#assert_table see Capybara::Assertions#refute_table see Capybara::Assertions#assert_no_table

# File lib/minitest/rails/capybara.rb, line 473
    
wont_have_text() click to toggle source

Expectation that there is no text

see #must_have_text see Capybara::Assertions#assert_text see Capybara::Assertions#refute_text see Capybara::Assertions#assert_no_text

# File lib/minitest/rails/capybara.rb, line 492
    
wont_have_unchecked_field() click to toggle source

Expectation that there is no unchecked_field

see #must_have_unchecked_field see Capybara::Assertions#assert_unchecked_field see Capybara::Assertions#refute_unchecked_field see Capybara::Assertions#assert_no_unchecked_field

# File lib/minitest/rails/capybara.rb, line 511
    
wont_have_xpath() click to toggle source

Expectation that there is no xpath

see #must_have_xpath see Capybara::Assertions#assert_xpath see Capybara::Assertions#refute_xpath see Capybara::Assertions#assert_no_xpath

# File lib/minitest/rails/capybara.rb, line 528