Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Basic testing infrastructure.

  • Loading branch information...
commit 7f1a2b5ac32d4a2bb495bd3e3e87460455ac776f 1 parent ea771f3
@juanibiapina authored
View
1  Gemfile
@@ -1,3 +1,4 @@
source 'https://rubygems.org'
gemspec
+gem 'tmux', :git => 'git://github.com/abhiyerra/tmux-ruby.git'
View
5 Guardfile
@@ -0,0 +1,5 @@
+guard 'rspec', :version => 2 do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
+ watch('spec/spec_helper.rb') { "spec" }
+end
View
5 Rakefile
@@ -1,2 +1,7 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
+require 'rspec/core/rake_task'
+
+task :default => :spec
+
+RSpec::Core::RakeTask.new
View
9 lib/rspec-formatter-tmux.rb
@@ -1,9 +1,2 @@
require "rspec-formatter-tmux/version"
-
-module Rspec
- module Formatter
- module Tmux
- # Your code goes here...
- end
- end
-end
+require "rspec-formatter-tmux/tmux_progress_bar"
View
2  lib/rspec-formatter-tmux/tmux_progress_bar.rb
@@ -0,0 +1,2 @@
+class TmuxProgressBar
+end
View
8 rspec-formatter-tmux.gemspec
@@ -15,5 +15,11 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]
gem.version = Rspec::Formatter::Tmux::VERSION
- gem.add_dependency('rspec')
+ gem.add_development_dependency 'rspec'
+ gem.add_development_dependency 'guard-rspec'
+ gem.add_development_dependency 'rb-fsevent'
+ gem.add_development_dependency 'listen', ["~> 0.4.7"]
+
+ gem.add_dependency 'rspec'
+ gem.add_dependency 'fuubar'
end
View
4 spec/rspec-formatter-tmux/tmux_progress_bar_spec.rb
@@ -0,0 +1,4 @@
+require "spec_helper"
+
+describe TmuxProgressBar do
+end
View
1  spec/spec_helper.rb
@@ -0,0 +1 @@
+require "rspec-formatter-tmux"

0 comments on commit 7f1a2b5

Please sign in to comment.
Something went wrong with that request. Please try again.