Navigation Menu

Skip to content

Commit

Permalink
Pulling fabricators from starter project
Browse files Browse the repository at this point in the history
  • Loading branch information
jcasimir committed Sep 22, 2011
1 parent 707c238 commit 93fd9fb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 46 deletions.
8 changes: 4 additions & 4 deletions Gemfile
Expand Up @@ -7,15 +7,15 @@ gem 'sqlite3-ruby', :require => 'sqlite3'
group :development, :test do
# Testing:
gem 'rspec-rails'
gem 'capybara'
gem 'faker'
gem 'fabrication'
# gem 'capybara'
# gem 'faker'
# gem 'fabrication'

# Styling:
gem 'compass', '0.11.5'
gem 'fancy-buttons'

# To use Guard:
# Using Guard:
# gem 'guard-shell'
# gem 'guard-livereload'
# gem 'guard'
Expand Down
26 changes: 0 additions & 26 deletions Gemfile.lock
Expand Up @@ -30,15 +30,6 @@ GEM
activesupport (3.0.10)
arel (2.0.10)
builder (2.1.2)
capybara (1.1.1)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
selenium-webdriver (~> 2.0)
xpath (~> 0.1.4)
childprocess (0.2.2)
ffi (~> 1.0.6)
chunky_png (1.2.4)
compass (0.11.5)
chunky_png (~> 1.2)
Expand All @@ -47,22 +38,16 @@ GEM
diff-lcs (1.1.3)
erubis (2.6.6)
abstract (>= 1.0.0)
fabrication (1.1.0)
faker (1.0.0)
i18n (~> 0.4)
fancy-buttons (1.1.2)
compass (>= 0.11)
ffi (1.0.9)
fssm (0.2.7)
i18n (0.5.0)
json_pure (1.6.1)
mail (2.2.19)
activesupport (>= 2.3.6)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.16)
nokogiri (1.5.0)
polyglot (0.3.2)
rack (1.2.4)
rack-mount (0.6.14)
Expand Down Expand Up @@ -98,13 +83,7 @@ GEM
activesupport (~> 3.0)
railties (~> 3.0)
rspec (~> 2.6.0)
rubyzip (0.9.4)
sass (3.1.7)
selenium-webdriver (2.6.0)
childprocess (>= 0.2.1)
ffi (>= 1.0.7)
json_pure
rubyzip
sqlite3 (1.3.4)
sqlite3-ruby (1.3.3)
sqlite3 (>= 1.3.3)
Expand All @@ -113,17 +92,12 @@ GEM
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.29)
xpath (0.1.4)
nokogiri (~> 1.3)

PLATFORMS
ruby

DEPENDENCIES
capybara
compass (= 0.11.5)
fabrication
faker
fancy-buttons
rails (= 3.0.10)
rake (= 0.9.2)
Expand Down
2 changes: 1 addition & 1 deletion public/stylesheets/screen.css

Large diffs are not rendered by default.

13 changes: 0 additions & 13 deletions spec/fabricators/article_fabricator.rb

This file was deleted.

6 changes: 4 additions & 2 deletions spec/models/comment_spec.rb
Expand Up @@ -2,8 +2,10 @@

describe Comment do
before(:each) do
@article = Fabricate(:article_with_comments)
@comment = @article.comments.first
@article = Article.create(:title => "Hello, World",
:body => "Sample Body.")
@comment = @article.comments.create(:author_name => "Daffy Duck",
:body => "My comment goes here.")
end

it "should be valid with valid attributes" do
Expand Down

0 comments on commit 93fd9fb

Please sign in to comment.