Skip to content

Commit

Permalink
Fixed order of resets to solve testing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed May 20, 2010
1 parent 3796255 commit 615c6ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
reset_domain_tables :user_profile_types, :configurations, :site_modules, :end_users, :end_user_addresses, :user_profile_entries

before(:each) do
mock_editor
test_activate_module('user_profile')
end

it 'should create default profile type on mod set up' do
mock_editor
assert_difference "UserProfileType.count", 1 do
get "options"
end
Expand Down

0 comments on commit 615c6ba

Please sign in to comment.