OSDN Git Service

左ペインの表示を実装
[praisedb/praisedb.git] / spec / support / blueprints.rb
diff --git a/spec/support/blueprints.rb b/spec/support/blueprints.rb
new file mode 100644 (file)
index 0000000..8278b82
--- /dev/null
@@ -0,0 +1,14 @@
+require 'machinist/active_record'
+
+Program.blueprint do
+  name { "a program" }
+  note { "a note about this program..." }
+  play_on { Date.today }
+end
+
+Song.blueprint do
+  code { "C" }
+  title { "a title of song" }
+  copyright { "blah blah blah, ..." }
+  font_size { 2 }
+end