Sha256: 4c6b72d2f47ea2b7f4d2b7855d475620edf22aec5670a9ae11f7df786c115b8f

Contents?: true

Size: 369 Bytes

Versions: 3

Compression:

Stored size: 369 Bytes

Contents

require 'spec_helper'

describe RailsApp do
  it "reach it's own files" do
    visit "/"
    page.body.should include("Welcome to the app that's using Bento")
  end

  it "loads app" do
    Bento::AccountsController.should == Bento::AccountsController
  end

  it "mounts the new accounts route" do
    visit "/accounts/new"
    page.status_code.should == 200
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bento-0.0.3 spec/proof_of_concepts_spec.rb
bento-0.0.2 spec/proof_of_concepts_spec.rb
bento-0.0.1 spec/proof_of_concepts_spec.rb