Sha256: 0e78b21c95664746b4c1dd90ebd02ee04e592cc7f5f6fd7e7cd76d08c396f3da
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
require 'spec_helper' describe EasyPresenter::Base, :type => :feature do before :each do @tree = Tree.create(:name => "Sakura") end describe "#url_options" do it "should allow using Rails #url_for helpers" do path = "/trees/#{@tree.id}" visit "/trees/#{@tree.id}" page.should have_content "http://www.example.com#{"/trees/#{@tree.id}"}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
easy_presenter-1.1.1 | spec/features/easy_presenter/base_spec.rb |
easy_presenter-1.1.0 | spec/features/easy_presenter/base_spec.rb |