module Capybara::Expectations

Public Instance Methods

must_have_button() click to toggle source

Expectation that there is button

see Capybara::Expectations#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 309
    
must_have_checked_field() click to toggle source

Expectation that there is checked_field

see Capybara::Expectations#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 328
    
must_have_content() click to toggle source

Expectation that there is content

see Capybara::Expectations#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 347
    
must_have_css() click to toggle source

Expectation that there is css

see Capybara::Expectations#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 366
    
must_have_field() click to toggle source

Expectation that there is field

see Capybara::Expectations#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 385
    
must_have_select() click to toggle source

Expectation that there is select

see Capybara::Expectations#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 423
    
must_have_selector() click to toggle source

Expectation that there is selector

see Capybara::Expectations#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 442
    
must_have_table() click to toggle source

Expectation that there is table

see Capybara::Expectations#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 461
    
must_have_text() click to toggle source

Expectation that there is text

see Capybara::Expectations#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 480
    
must_have_unchecked_field() click to toggle source

Expectation that there is unchecked_field

see Capybara::Expectations#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 499
    
must_have_xpath() click to toggle source

Expectation that there is xpath

see Capybara::Expectations#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 518
    
wont_have_button() click to toggle source

Expectation that there is no button

see Capybara::Expectations#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 318
    
wont_have_checked_field() click to toggle source

Expectation that there is no checked_field

see Capybara::Expectations#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 337
    
wont_have_content() click to toggle source

Expectation that there is no content

see Capybara::Expectations#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 356
    
wont_have_css() click to toggle source

Expectation that there is no css

see Capybara::Expectations#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 375
    
wont_have_field() click to toggle source

Expectation that there is no field

see Capybara::Expectations#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 394
    
wont_have_select() click to toggle source

Expectation that there is no select

see Capybara::Expectations#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 432
    
wont_have_selector() click to toggle source

Expectation that there is no selector

see Capybara::Expectations#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 451
    
wont_have_table() click to toggle source

Expectation that there is no table

see Capybara::Expectations#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 470
    
wont_have_text() click to toggle source

Expectation that there is no text

see Capybara::Expectations#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 489
    
wont_have_unchecked_field() click to toggle source

Expectation that there is no unchecked_field

see Capybara::Expectations#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 508
    
wont_have_xpath() click to toggle source

Expectation that there is no xpath

see Capybara::Expectations#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 527