toamitkumar's Code Blog

Ruby, Rails, RubyMotion, Chef, Puppet, Play and others. Opinions expressed here are my own and do not reflect those of my employer.

RSpec::Core::Configuration::MustBeConfiguredBeforeExampleGroupsError

| Comments

Came across this weird error: 







This had happened because I had RSpec 1 way of including spec_helper (in old files):

require File.expand_path(File.dirname(__FILE__) + ‘/../spec_helper’)

And the other way (in my new files):

require ‘spec_helper’

Synching them fixed it :))

Comments