Skip to content

Commit

Permalink
added Gemfile back, cleaned up tests a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
fxposter committed Jun 2, 2011
1 parent 80b26fb commit fddd9b2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Expand Up @@ -3,5 +3,4 @@
*.gem
Gemfile.lock
.bundle
Gemfile
log
log
4 changes: 4 additions & 0 deletions Gemfile
@@ -0,0 +1,4 @@
source "http://rubygems.org"
gemspec
gem 'simple_form'
gem 'formtastic'
2 changes: 1 addition & 1 deletion spec/nested_form/builder_spec.rb
@@ -1,6 +1,6 @@
require "spec_helper"

$builders.each do |builder|
[NestedForm::Builder, NestedForm::SimpleBuilder, NestedForm::FormtasticBuilder].each do |builder|
describe builder do
describe "with no options" do
before(:each) do
Expand Down
2 changes: 0 additions & 2 deletions spec/spec_helper.rb
Expand Up @@ -21,8 +21,6 @@
config.mock_with :mocha
end

$builders = [NestedForm::Builder, NestedForm::SimpleBuilder, NestedForm::FormtasticBuilder]

class TablelessModel < ActiveRecord::Base
def self.columns() @columns ||= []; end

Expand Down

0 comments on commit fddd9b2

Please sign in to comment.