Sha256: 6206d0dbff3d3728bc92b0d2b6e415c91fad9cea7c38d643d5b12bb918db2d73
Contents?: true
Size: 800 Bytes
Versions: 1
Compression:
Stored size: 800 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'spec_helper.rb') describe "/merb_auth_slice_multisite/" do before(:all) do mount_slice end describe "GET /" do before(:each) do @response = request("/merb_auth_slice_multisite/") end it "should be successful" do @response.status.should be_successful end # This is just an example of what you can do # You can also use the other webrat methods to click links, # fill up forms etc... it "should render the default slice layout" do @response.should have_tag(:h1, :content => "MerbAuthSliceMultisite Slice") @response.should have_selector("div#container div#main") @response.should have_xpath("//div[@id='container']/div[@id='main']") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
scottmotte-merb_auth_slice_multisite-0.1.1 | spec/requests/main_spec.rb |