Skip to content

Commit

Permalink
rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
rderoldan1 committed Mar 8, 2013
1 parent 7facdde commit 0105bc3
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--color
--format documentation
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
source 'https://rubygems.org'
source 'http://rubygems.org'

# Specify your gem's dependencies in financial_maths.gemspec
gemspec
gem 'rspec'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# FinancialMaths

[![Build Status](https://travis-ci.org/rderoldan1/financial_maths.png?branch=master)](https://travis-ci.org/rderoldan1/financial_maths)
more functions will be added soon

#### New in version 0.0.4
Expand Down
6 changes: 6 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
require "bundler/gem_tasks"

require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new('spec')

task :default => :spec
8 changes: 8 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require 'rubygems'
require 'bundler/setup'
require 'financial_maths'


RSpec.configure do |config|

end
9 changes: 9 additions & 0 deletions spec/version_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require 'rspec'
require 'spec_helper'

describe "My behaviour" do

it 'should be the version' do
FinancialMaths::VERSION.should_not be_nil
end
end

0 comments on commit 0105bc3

Please sign in to comment.