Created
April 23, 2017 05:33
-
-
Save sidd-kulk/014fe83a1effffdf6e1c187bbbac8d64 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
describe 'users/user_details', type: :view do | |
it 'should render the user details view' do | |
form_builder = ActionView::Helpers::FormBuilder.new(:f, @user, self, {}, nil) | |
render :partial => 'users/user_details', locals: {f: form_builder} | |
# expectations | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment