Orbit/spec/views/desktop/journal_lists/new.html.erb_spec.rb

16 lines
423 B
Ruby
Raw Normal View History

2012-11-28 03:45:23 +00:00
require 'spec_helper'
describe "desktop/journal_lists/new" do
before(:each) do
assign(:desktop_journal_list, stub_model(Desktop::JournalList).as_new_record)
end
it "renders new desktop_journal_list form" do
render
# Run the generator again with the --webrat flag if you want to use webrat matchers
assert_select "form", :action => desktop_journal_lists_path, :method => "post" do
end
end
end