Permalink
Browse files

Include the helpers into all specs.

  • Loading branch information...
1 parent c53a2a0 commit b5b719f9eccf2e5fe10feeb432270af7012752b4 @postmodern committed Feb 25, 2012
Showing with 5 additions and 5 deletions.
  1. +0 −3 spec/project_spec.rb
  2. +5 −0 spec/spec_helper.rb
  3. +0 −2 spec/visualization_spec.rb
View
@@ -1,12 +1,9 @@
require 'dm-visualizer/project'
require 'spec_helper'
-require 'helpers/project'
require 'project_examples'
describe DataMapper::Visualizer::Project do
- include Helpers::Project
-
context "library" do
before(:all) do
@dir = project_dir('library')
View
@@ -1 +1,6 @@
require 'rspec'
+require 'helpers/project'
+
+RSpec.configure do |spec|
+ spec.include Helpers::Project
+end
@@ -4,8 +4,6 @@
require 'helpers/project'
describe DataMapper::Visualizer::Visualization do
- include Helpers::Project
-
describe "defaults" do
before(:all) do
@vis = DataMapper::Visualizer::Visualization.new(

0 comments on commit b5b719f

Please sign in to comment.