Sha256: 0144632536403ee773aeb885c43dcf7d722b6e775c254524961d03d3b7a4d1d3
Contents?: true
Size: 1.02 KB
Versions: 3
Compression:
Stored size: 1.02 KB
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe "An integration spec", :type => :integration do it "should provide all the normal integration support" do with_routing do |set| set.draw do |map| map.root :controller => 'integration_dsl' get "/" response.should_not be_nil open_session.should_not == @integration_session end end with_routing do |set| set.draw do |map| map.special_named "/", :controller => "integration_dsl" reset! special_named_path end end end it "should have the form dsl" do should respond_to("submit_form") end it "should have the navigation dsl" do should respond_to("navigate_to") end it "should have the showing matchers" do be_showing("/path").should be_kind_of(Spec::Integration::Matchers::Showing) end it "should have the navigation matchers" do have_navigated_successfully("/path").should be_kind_of(Spec::Integration::Matchers::NavigateSuccessfully) end end
Version data entries
3 entries across 3 versions & 1 rubygems