Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Niedzielski <adamsunday@gmail.com>2016-08-07 14:42:54 +0300
committerAdam Niedzielski <adamsunday@gmail.com>2016-08-07 14:42:54 +0300
commit245d4abbbf3d8a1a74b730f4b95a29218de73ee3 (patch)
treef6e0abbbf2810d770dc0f6e66857d1e1dd228b9a /spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb
parent0c3ac8276811ec17608acc56f02a03a0890f809a (diff)
Single quotes all the way.
Diffstat (limited to 'spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb')
-rw-r--r--spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb b/spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb
index 400c7e477d2..47a72a82cf3 100644
--- a/spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb
+++ b/spec/features/projects/members/master_adds_member_with_expiration_date_spec.rb
@@ -14,12 +14,12 @@ feature 'Projects > Members > Master adds member with expiration date', feature:
end
scenario 'expiration date is displayed in the members list' do
- travel_to Time.zone.parse("2016-08-06 08:00") do
+ travel_to Time.zone.parse('2016-08-06 08:00') do
visit namespace_project_project_members_path(project.namespace, project)
page.within '.users-project-form' do
select2(new_member.id, from: '#user_ids', multiple: true)
- fill_in 'Access expiration date', with: "2016-08-10"
+ fill_in 'Access expiration date', with: '2016-08-10'
click_on 'Add users to project'
end
@@ -30,13 +30,13 @@ feature 'Projects > Members > Master adds member with expiration date', feature:
end
scenario 'change expiration date' do
- travel_to Time.zone.parse("2016-08-06 08:00") do
- project.team.add_users([new_member.id], :developer, expires_at: "2016-09-06")
+ travel_to Time.zone.parse('2016-08-06 08:00') do
+ project.team.add_users([new_member.id], :developer, expires_at: '2016-09-06')
visit namespace_project_project_members_path(project.namespace, project)
page.within '.project_member:first-child' do
click_on 'Edit'
- fill_in 'Access expiration date', with: "2016-08-09"
+ fill_in 'Access expiration date', with: '2016-08-09'
click_on 'Save'
expect(page).to have_content('Expires in 3 days')
end