spec/integration/belongs_to_spec.rb in activeadmin-0.2.1 vs spec/integration/belongs_to_spec.rb in activeadmin-0.2.2
- old
+ new
@@ -1,5 +1,5 @@
-require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
+require 'spec_helper'
describe_with_capybara "Belongs To" do
let(:user){ User.create(:first_name => "John", :last_name => "Doe", :username => "johndoe") }
let(:post){ user.posts.create :title => "Hello World", :body => "woot!"}