spec/features/storage_spec.rb in flash_messenger-0.0.2 vs spec/features/storage_spec.rb in flash_messenger-0.1.0
- old
+ new
@@ -114,10 +114,10 @@
let(:nonpersistent_message) { nonpersistent_message_klass.alert(default_message) }
let(:persistent_message) { persistent_message_klass.alert(default_message) }
let(:expected_json) do
{
- "locale" => "en-US",
+ "locale" => "en",
"messages" => [
{
"i18n_params" => { "raise" => true },
"level" => "alert",
"translation" => "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id lobortis tortor. Nam cursus pharetra purus non elementum. Sed eu libero leo. Aliquam eget justo vel odio consectetur facilisis id a sapien. Duis pulvinar tincidunt suscipit. Quisque volutpat justo vitae fringilla lacinia. Aenean semper, nulla at mattis sagittis, purus felis aliquet lorem, sit amet suscipit dolor elit nec tellus. Pellentesque interdum nulla maximus massa elementum, at posuere augue scelerisque.",