Skip to content

Commit

Permalink
added testing infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Quenneville committed Apr 30, 2012
1 parent 666291f commit 6c48e91
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--color
4 changes: 4 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)
task default: :spec
2 changes: 2 additions & 0 deletions ajax-datatables-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ Gem::Specification.new do |gem|
gem.name = "ajax-datatables-rails"
gem.require_paths = ["lib"]
gem.version = AjaxDatatablesRails::VERSION

gem.add_development_dependency "rspec"
end
7 changes: 7 additions & 0 deletions spec/ajax-datatables-rails/ajax_datatables_rails_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
require 'spec_helper'

describe AjaxDatatablesRails do
describe "as_json" do
it "should return the correct json feed"
end
end
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require 'ajax-datatables-rails'

0 comments on commit 6c48e91

Please sign in to comment.