diff options
author | Philip Arndt <parndt@gmail.com> | 2010-11-22 15:23:25 +1300 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2010-11-22 15:26:53 +1300 |
commit | e5b9af1054bbd259bde0265acf4386cdaab0ca41 (patch) | |
tree | a5a89e83d262aab943c7e3f5d22dc52788de24d8 /features/support/factories/blog_comments.rb | |
parent | ebb4c59cef0eb4e89700275e23579ca6dd18d619 (diff) | |
parent | 6d94a0ba7b781f93519183c96bbc718465dccdb4 (diff) | |
download | refinerycms-blog-e5b9af1054bbd259bde0265acf4386cdaab0ca41.tar.gz refinerycms-blog-e5b9af1054bbd259bde0265acf4386cdaab0ca41.tar.bz2 refinerycms-blog-e5b9af1054bbd259bde0265acf4386cdaab0ca41.zip |
Merged in Joe's and Steven's forks and updated for compatibility with < 0.9.9. Also, specs now work by including the factories and I have also laid the foundation for cucumber features. Fixed an issue where the javascript file was clashing with the same code we merged to core from this engine relating to submenus. Regenerated gemspec.
Diffstat (limited to 'features/support/factories/blog_comments.rb')
-rw-r--r-- | features/support/factories/blog_comments.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/features/support/factories/blog_comments.rb b/features/support/factories/blog_comments.rb new file mode 100644 index 0000000..93beaf3 --- /dev/null +++ b/features/support/factories/blog_comments.rb @@ -0,0 +1,10 @@ +Factory.sequence :email do |n| + "person#{n}@example.com" +end + +Factory.define(:blog_comment) do |f| + f.name "Joe Commenter" + f.email { Factory.next(:email) } + f.body "Which one is the best for picking up new shoes?" + f.association :post +end
\ No newline at end of file |