OSDN Git Service

basic認証をproductionのみに限定
[praisedb/praisedb.git] / spec / controllers / songs_controller_spec.rb
1 require 'spec_helper'
2
3 describe SongsController do
4
5   #Delete this example and add some real ones
6   it "should use SongsController" do
7     controller.should be_an_instance_of(SongsController)
8   end
9
10   it "トップページにアクセスできる" do
11     get :index
12     response.should be_success
13   end
14   
15   it "新しい曲のフォーム" do
16     get :new
17     assigns[:song].should be_instance_of Song
18   end
19
20
21 end