Skip to content

Commit

Permalink
getting first test working
Browse files Browse the repository at this point in the history
  • Loading branch information
KellyMahan committed Jun 27, 2012
1 parent 94d0533 commit 47db61f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile.lock
Expand Up @@ -12,6 +12,7 @@ GEM
coderay (~> 1.0.5)
method_source (~> 0.7.1)
slop (>= 2.4.4, < 3)
rake (0.9.2.2)
slop (2.4.4)

PLATFORMS
Expand All @@ -20,3 +21,4 @@ PLATFORMS
DEPENDENCIES
duo-rest!
pry
rake
2 changes: 2 additions & 0 deletions Rakefile
Expand Up @@ -2,6 +2,8 @@ require 'rake/testtask'

Rake::TestTask.new do |t|
t.libs << 'test'
t.test_files = `git ls-files -- test/*`.split("\n")
t.verbose = true
end

desc "Run tests"
Expand Down
1 change: 1 addition & 0 deletions duo-rest.gemspec
Expand Up @@ -19,4 +19,5 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]

s.add_development_dependency("pry")
s.add_development_dependency("rake")
end
3 changes: 3 additions & 0 deletions test/duo-rest.rb
Expand Up @@ -3,8 +3,11 @@

class DuoRestTest < Test::Unit::TestCase

# simple passing test
def test_version
assert_equal "0.0.1", DuoRest::VERSION
end



end

0 comments on commit 47db61f

Please sign in to comment.