@@ -61,7 +61,7 @@ def load_manifest_spec
6161 visit ( history_sample_path ( sample_1 ) )
6262 table = [
6363 [ 'Message' , 'Content' , 'Created at' , 'Created by' ] ,
64- [ 'Created by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
64+ [ 'Created by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
6565 [ 'Updated sample metadata' ,
6666 'Gender: Not specified → Male' \
6767 'Country of origin: Not specified → United Kingdom' \
@@ -76,7 +76,7 @@ def load_manifest_spec
7676 'Supplier name: Not specified → aaaa' \
7777 'Donor: Not specified → 12345' ,
7878 'Monday 12 July, 2010 10:25' , '' ] ,
79- [ 'Updated by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'john' ]
79+ [ 'Updated by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'john' ]
8080 ]
8181
8282 expect ( fetch_table ( 'table#events' ) ) . to eq ( table )
@@ -99,7 +99,7 @@ def load_manifest_spec
9999 visit ( history_sample_path ( sample_1 ) )
100100 table = [
101101 [ 'Message' , 'Content' , 'Created at' , 'Created by' ] ,
102- [ 'Created by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
102+ [ 'Created by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
103103 [ 'Updated sample metadata' ,
104104 'Gender: Not specified → Male' \
105105 'Country of origin: Not specified → United Kingdom' \
@@ -114,7 +114,7 @@ def load_manifest_spec
114114 'Supplier name: Not specified → aaaa' \
115115 'Donor: Not specified → 12345' ,
116116 'Monday 12 July, 2010 10:25' , '' ] ,
117- [ 'Updated by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'john' ]
117+ [ 'Updated by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'john' ]
118118 ]
119119 expect ( fetch_table ( 'table#events' ) ) . to eq ( table )
120120
@@ -123,7 +123,7 @@ def load_manifest_spec
123123 visit ( history_sample_path ( sample_7 ) )
124124 table = [
125125 [ 'Message' , 'Content' , 'Created at' , 'Created by' ] ,
126- [ 'Created by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
126+ [ 'Created by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
127127 [ 'Updated sample metadata' ,
128128 'Gender: Not specified → Male' \
129129 'Country of origin: Not specified → United Kingdom' \
@@ -137,7 +137,7 @@ def load_manifest_spec
137137 'Concentration: Not specified → 20' \
138138 'Supplier name: Not specified → xxxx' ,
139139 'Monday 12 July, 2010 10:25' , '' ] ,
140- [ 'Updated by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'jane' ]
140+ [ 'Updated by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'jane' ]
141141 ]
142142 expect ( fetch_table ( 'table#events' ) ) . to eq ( table )
143143
@@ -157,7 +157,7 @@ def load_manifest_spec
157157 visit ( history_sample_path ( sample_1 ) )
158158 table = [
159159 [ 'Message' , 'Content' , 'Created at' , 'Created by' ] ,
160- [ 'Created by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
160+ [ 'Created by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
161161 [ 'Updated sample metadata' ,
162162 'Gender: Not specified → Male' \
163163 'Country of origin: Not specified → United Kingdom' \
@@ -172,21 +172,21 @@ def load_manifest_spec
172172 'Supplier name: Not specified → aaaa' \
173173 'Donor: Not specified → 12345' ,
174174 'Monday 12 July, 2010 10:25' , '' ] ,
175- [ 'Updated by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
175+ [ 'Updated by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
176176 [ 'Updated sample metadata' ,
177177 'Volume: 10 → 15' \
178178 'Date of sample collection: 2022-12-12 → 2022-12-01' \
179179 'Supplier name: aaaa → aaaa_updated' ,
180180 'Monday 12 July, 2010 10:25' , '' ] ,
181- [ 'Updated by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'jane' ]
181+ [ 'Updated by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'jane' ]
182182 ]
183183 expect ( fetch_table ( 'table#events' ) ) . to eq ( table )
184184
185185 visit ( history_sample_path ( sample_7 ) )
186186
187187 table = [
188188 [ 'Message' , 'Content' , 'Created at' , 'Created by' ] ,
189- [ 'Created by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
189+ [ 'Created by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
190190 [ 'Updated sample metadata' ,
191191 'Gender: Not specified → Male' \
192192 'Country of origin: Not specified → United Kingdom' \
@@ -200,20 +200,20 @@ def load_manifest_spec
200200 'Concentration: Not specified → 20' \
201201 'Supplier name: Not specified → xxxx' ,
202202 'Monday 12 July, 2010 10:25' , '' ] ,
203- [ 'Updated by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'jane' ] ,
203+ [ 'Updated by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'jane' ] ,
204204 [ 'Updated sample metadata' , 'Volume: 10 → 15' , 'Monday 12 July, 2010 10:25' , '' ] ,
205- [ 'Updated by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'jane' ]
205+ [ 'Updated by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'jane' ]
206206 ]
207207
208208 expect ( fetch_table ( 'table#events' ) ) . to eq ( table )
209209 asset = Labware . find_by_barcode ( 'SQPD-1234567' )
210210 visit ( history_labware_path ( asset ) )
211211 table = [
212212 [ 'Message' , 'Content' , 'Created at' , 'Created by' ] ,
213- [ 'Created by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
214- [ 'Updated by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
215- [ 'Updated by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'jane' ] ,
216- [ 'Updated by Sample Manifest' , '2010-07-12 ' , 'Monday 12 July, 2010 10:25' , 'jane' ]
213+ [ 'Created by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
214+ [ 'Updated by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'john' ] ,
215+ [ 'Updated by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'jane' ] ,
216+ [ 'Updated by Sample Manifest' , 'Manifest_1 ' , 'Monday 12 July, 2010 10:25' , 'jane' ]
217217 ]
218218 expect ( fetch_table ( 'table#events' ) ) . to eq ( table )
219219 end
0 commit comments