README.md in fracture-0.9.0 vs README.md in fracture-0.9.1

- old
+ new

@@ -63,12 +63,14 @@ require 'spec_helper' describe ContactsController do render_views - Fracture.define_text(:add, "New") - + before(:all) do + Fracture.define_text(:add, "New") + end + context "as admin" do describe "as an admin" do it "index" do login_as :admin # psuedo code for example get :index @@ -152,11 +154,18 @@ ```ruby response.body.should have_a_form.that_is_new.with_path_of("/tickets") response.body.should have_a_form.with_path_of(tickets_path) ``` +### Integration Specs Example +```ruby +page.body.should have_only_fractures(:label_2) +``` + + + ## All Methods: * have_fracture(*labels) * have_all_fractures * have_all_fractures_except(*labels) @@ -167,9 +176,10 @@ - with_path_of(path) # TODO * Support text and selector in one fracture +* Support qty of expected fractures on page (selector count) ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`)