rspec-feature-expectations

Set of rspec matcher to help with feature specs

include_text

check content order

describe "hello world" do
  it { is_expected.to include_text("hello").before_text("world") }
  it { is_expected.not_to include_text("world").before_text("hello") }
end

Contributing to rspec-feature-expectations

Copyright © 2014 Ian Kenney. See LICENSE.txt for further details.