-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regenerate the RSpec spec helper and modernize the config.
- Loading branch information
Showing
10 changed files
with
25 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
require "set" | ||
require "active_support/concern" | ||
|
||
module Protobuf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
require "set" | ||
require "active_support/concern" | ||
|
||
module Protobuf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
require "spec_helper" | ||
|
||
describe Protobuf::ActiveRecord::NestedAttributes do | ||
RSpec.describe Protobuf::ActiveRecord::NestedAttributes do | ||
let(:user_message) { | ||
UserMessage.new(name: "foo bar", email: "[email protected]", photos: [{url: "https://test.co/test.png"}]) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
require "spec_helper" | ||
|
||
describe Protobuf::ActiveRecord::Persistence do | ||
RSpec.describe Protobuf::ActiveRecord::Persistence do | ||
let(:user) { User.new(user_attributes) } | ||
let(:user_attributes) { {first_name: "foo", last_name: "bar", email: "[email protected]"} } | ||
let(:proto_hash) { {name: "foo bar", email: "[email protected]"} } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
require "spec_helper" | ||
|
||
describe Protobuf::ActiveRecord::Transformation do | ||
RSpec.describe Protobuf::ActiveRecord::Transformation do | ||
let(:user) { User.new(user_attributes) } | ||
let(:user_attributes) { {first_name: "foo", last_name: "bar", email: "[email protected]"} } | ||
let(:proto_hash) { {name: "foo bar", email: "[email protected]"} } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters