spec/facemock/fb_graph/application/user_spec.rb in facemock-0.0.9 vs spec/facemock/fb_graph/application/user_spec.rb in facemock-0.0.10
- old
+ new
@@ -53,16 +53,9 @@
user.permission_objects.each do |permission_object|
expect(options[:permissions]).to include permission_object.name
end
end
end
-
- context 'with only name option' do
- before { @options = { name: "test_user" } }
-
- subject { @user = Facemock::FbGraph::Application::User.new(@options).email }
- it { is_expected.to eq "#{@options[:name]}@example.com" }
- end
end
describe '#permission' do
context 'when new without permissions option' do
before do