mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
22 lines
478 B
Ruby
22 lines
478 B
Ruby
require 'spec_helper'
|
|
|
|
describe "Mail Methods" do
|
|
include AuthenticationHelper
|
|
|
|
before(:each) do
|
|
login_as_admin_and_visit spree.edit_admin_general_settings_path
|
|
end
|
|
|
|
context "edit" do
|
|
before(:each) do
|
|
click_link "Mail Method Settings"
|
|
end
|
|
|
|
it "should be able to edit mail method settings" do
|
|
fill_in "mail_bcc", with: "ofn@example.com"
|
|
click_button "Update"
|
|
expect(page).to have_content("successfully updated!")
|
|
end
|
|
end
|
|
end
|