OSDN Git Service

add controller songs_controller
[praisedb/praisedb.git] / spec / models / song_spec.rb
1 require 'spec_helper'
2
3 describe Song do
4   before(:each) do
5     @valid_attributes = {
6       :code => "value for code",
7       :title => "value for title",
8       :words => "value for words",
9       :kana => "value for kana",
10       :cright => "value for cright",
11       :font_size => 1,
12       :deleted_at => Time.now
13     }
14   end
15
16   it "should create a new instance given valid attributes" do
17     Song.create!(@valid_attributes)
18   end
19 end